package com.aaa.zs;

import com.netflix.zuul.ZuulFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @fileName:ZuulApp
 * @description:
 * @author:zz
 * @createTime:2020/11/5 17:06
 * @version:1.0.0
 */
@SpringBootApplication
@EnableDiscoveryClient //开启客户端注册功能
@EnableZuulProxy  //开启zuul路由代理功能
@EnableFeignClients
public class ZuulApp {
    public static void main(String[] args) {
        SpringApplication.run(ZuulApp.class,args);
    }
}
